package com.aerotechnic.models;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

@Entity
@Table(name = "User")
public class User extends Personne {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Column(name="profile")
	private String profile;// type est soit administrateur ou responsable
	@Column(name="login")
	private String login;
	@Column(name="password")
	private String password;
	
	public String getLogin() {
		return login;
	}
	public void setLogin(String login) {
		this.login = login;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getProfile() {
		return profile;
	}
	public void setProfile(String profile) {
		this.profile = profile;
	}
	
}
